package com.wsx;

import org.junit.jupiter.api.Test;
import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.util.DigestUtils;

@SpringBootTest
public class testMD5 {
    @Test
    void testmd5(){
        String password = "20000501";
        password = DigestUtils.md5DigestAsHex(password.getBytes());
        System.out.println(password);
    }
}
